home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 19 / 9 / DISK1997.ZIP / PMCTIPS.DOC < prev    next >
Text File  |  1989-11-12  |  7KB  |  149 lines

  1.  
  2.  
  3.                                      PMCAT+
  4.  
  5.                      Tips and Hints and General Information
  6.  
  7.  
  8.         General Information:
  9.  
  10.             PMCAT+ is a 'disk file catalog' program.  When we first
  11.             designed PMCAT+, the concept we had of a disk file catalog
  12.             was a program that cataloged the programs on floppy disks
  13.             only.  In the last two years, it has become increasingly
  14.             apparent that many, if not most, users consider hard
  15.             drives to belong in the realm of things a disk file cat-
  16.             alog ought to deal with...and that is a very reasonable
  17.             expectation.
  18.  
  19.             On the other hand, there were and still are some excellent
  20.             programs I prefer to call 'file management' utilities,
  21.             such as Xtree.  These file management programs have the
  22.             ability to copy, move and even edit files, but don't
  23.             perform the cataloging functions of a program like PMCAT+.
  24.  
  25.             In short, PMCAT+ is designed to allow you to do pretty much
  26.             whatever you want to do with file information DOS stores
  27.             in the directories of a disk or diskette.  When you need
  28.             to work on the physical file itself, you must either use
  29.             one of the file managers, or the DOS shell of PMCAT+ and
  30.             then do whatever you need through the shell, at the
  31.             command line prompt.  You may, however, read the contents
  32.             of files using PMCAT+ in conjunction with a file lister
  33.             and de-archiving (if the file is within an archive)
  34.             utility.
  35.  
  36.             Despair not, however.  We are working on a program to
  37.             incorporate the best of both worlds, file managers and
  38.             file catalogers.  Keep an eye out for it.  It will be a
  39.             product of Hip Pocket Software.
  40.  
  41.  
  42.         Technical Information about PMCAT+:
  43.  
  44.             PMCAT+ stores files in memory as it reads them, in the form
  45.             of a 'linked list' of files.  The CATALOG is the root or
  46.             'parent' of every volume contained within that catalog.
  47.             Each volume contained within the CATALOG is a 'child' of
  48.             the parent CATALOG.  Each directory in the root directory
  49.             of each volume is a parent to the files contained within
  50.             the specific directory and so on.  Therefore, each file
  51.             and directory has 'pointers' (an address of 4 bytes, in
  52.             RAM, which tells PMCAT+ where the record for that file or
  53.             directory is, physically).  Every record (file, volume,
  54.             catalog) has pointers as a portion of itself which tell
  55.             where and what its parent is, what and where its children
  56.             are, and what and where its peers (a 'next' pointer to a
  57.             file, directory or volume that has the same parent) are.
  58.  
  59.             Without going into too much more detail, you can know that
  60.             each file read into PMCAT+ will occupy 38 bytes of memory
  61.             plus the string representing each directory and/or
  62.             subdirectory.  A good rule of thumb is about 45 bytes per
  63.             entry on the average. If you comment a file, then add
  64.             another 80 bytes to this requirement (per file commented).
  65.  
  66.             The alogrithm (sequence of processing steps) we use to
  67.             link new files into the list automatically sorts files
  68.             having the same parent.  This isn't apparent when you View
  69.             the complete catalog unless you open the Infowindow and
  70.             look at the path to the files.
  71.  
  72.             As you add comments to files that already exist in PMCAT+,
  73.             the amount of memory required increases by up to 81
  74.             characters per file (depending on how long your comment
  75.             is).
  76.  
  77.             A practical technical limit for a machine with 500K
  78.             available for cataloging is about 10,000 files.  If fully
  79.             commented (every file contains an 80 character comment),
  80.             the limit is about 3000 files.
  81.  
  82.  
  83.  
  84.         Hints and Tips:
  85.  
  86.  
  87.             ARCHIVES -
  88.  
  89.             Although PMCAT+ has the ability to read the contents
  90.             (directories) of ARC, ZIP ,LZH and PAK files, that process
  91.             may be found to be interesting at first and inconvenient (in
  92.             terms of memory use) later.  In most applications, the name
  93.             of the compressed file indicates the overall function of the
  94.             support and executable files contained within it. If you
  95.             start by cataloging *every* file by using the features that
  96.             read directories of compressed file format and later decide
  97.             you wish you hadn't, a simple update by rereading the disk
  98.             with the archive reading turned off will fix things.
  99.  
  100.             A good alternative to the above is to read your disks with
  101.             archive reading turned on and the masking feature also
  102.             active to get only the FILENAME.EXT's that you want.
  103.  
  104.  
  105.             MULTIPLE CATALOGS -
  106.  
  107.             Although PMCAT+ was originally intended to be used with
  108.             small to moderate (50 - 200 diskettes) catalogs, it is
  109.             quite capable of managing truly huge diskette collections.
  110.  
  111.             For some the idea of splitting a collection into separate
  112.             files is abhorent, for others it seems to make a great
  113.             deal of sense.  The purpose of this is not to judge or
  114.             offer opinions about how you should manage things, but
  115.             rather to show how PMCAT+ *can* do it.
  116.  
  117.             We've had a number of requests to offer an option called
  118.             'categories' to PMCAT+.  Given the fact that a simple word
  119.             or indentifier in the comments section of a file record
  120.             can accomplish that task, or the ease with which a
  121.             different catalog can be loaded, we haven't *yet* done
  122.             that particular update.  (The coding of the option would
  123.             require the user to evaluate each file as it is read and
  124.             that particular process is something we've tried very hard
  125.             to avoid to date).  We would appreciate comments on how
  126.             you would like to see the 'categories' feature implemented
  127.             if we should go ahead with it.
  128.  
  129.             At any rate, splitting your collection into GAMES, UTILS,
  130.             APPLICATIONS, etc., would allow PMCAT+ to work with your
  131.             collection without hesitation.  We prefer the speed of
  132.             PMCAT+ to be fully available at all times.  Obviously, if
  133.             our users would rather have a huge catalog held on disk
  134.             and accessed more slowly, we would be remiss in not
  135.             addressing that request.
  136.  
  137.  
  138.             SEARCHING FILENAMES AND COMMENTS -
  139.  
  140.             This newest version of PMCAT+ has had some surgery done on
  141.             its searching routines ... for the better, we think.
  142.             Wildcards, ('*' represents any number of characters of any
  143.             form, '?' represents any single character of any form) may
  144.             be used in your search of filenames or comments.  The
  145.             search is now consistent in both areas due to improvements
  146.             in the speed of 'parsing' (looking through the files and
  147.             comments).
  148.  
  149.